速報APP / 工具 / Sensorstream IMU+GPS

Sensorstream IMU+GPS

價格:免費

更新日期:2013-02-08

檔案大小:252k

目前版本:1.0

版本需求:Android 2.3.3 以上版本

官方網站:http://sourceforge.net/projects/smartphone-imu/?source=directory

Email:hectorkay167@gmail.com

Sensorstream IMU+GPS(圖1)-速報App

This is an Android App for 2.3.3 Android OS and above.

It deals with Hard- and Software Sensors which are integrated in Nowadays Smartphones.

The User can select the Sensors and observe the current values of

- Accelerometer

- Gyroscope

- Magnetometer

- GPS Position

- .... and other Sensors

Sensorstream IMU+GPS(圖2)-速報App

A Stream containing the Sensor-Values in CSV- Format by WLAN To a Client and/or a Stream To a SD-Card can be started and stopped. The Sensor-Update frequency can be adjusted.

There are some GPS-Algorithms running in the Background which transform the GPS data in different coordinate frames.

The Stream via WLAN uses the User Datagram Protocol (UDP) Interface.

The Project Page of this app can be found here:

http://sourceforge.net/projects/smartphone-imu/

Here you will be able to download the Source Code.

In order to receive the data you can use something like the Java File "QuoteClient"in the Files-Section of the Source Forge Project Page. Or use Python and compile:

------------------------------------------------------------

Sensorstream IMU+GPS(圖3)-速報App

import socket, traceback

host = ''

port = 5555

s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)

s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)

s.bind((host, port))

while 1:

Sensorstream IMU+GPS(圖4)-速報App

try:

message, address = s.recvfrom(8192)

print (message)

except (KeyboardInterrupt, SystemExit):

raise

except:

traceback.print_exc()

------------------------------------------------------------

Sensorstream IMU+GPS(圖5)-速報App

Enjoy Navigation!

Sensorstream IMU+GPS(圖6)-速報App